<template>
  <div>
    <div>我是A组件 {{ data }}</div>
    <AA></AA>
  </div>
</template>

<script lang="ts" setup>
import AA from "./aa.vue";
import { inject } from "vue";
let data = inject("flag");
</script>

<style>
</style>